@extends('backend.layouts.app')

@section('content')

    <div class="aiz-titlebar text-left mt-2 mb-3">
        <h5 class="mb-0 h6">{{translate('Edit Seller Information')}}</h5>
    </div>

    <div class="col-lg-6 mx-auto">
        <div class="card">
            <div class="card-header">
                <h5 class="mb-0 h6">{{translate('Set Visit')}}</h5>
            </div>

            <div class="card-body">
                <form action="{{ route('sellers.visit_update', $seller->id) }}" method="POST">

                    <input name="id" type="hidden" value="{{$seller->id}}">
                    @csrf

                    <div class="form-group row">
                        <label class="col-sm-3 col-from-label" for="password">{{translate('Refresh Visitors')}}</label>
                        <div class="col-sm-9">
                            <input type="text" placeholder="{{translate('Refresh Visitors')}}" name="refresh_visitors"
                                   value="{{$seller->refresh_visitors}}" class="form-control">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-sm-3 col-from-label" for="password">{{translate('Order Visitors')}}</label>
                        <div class="col-sm-9">
                            <input type="text" placeholder="{{translate('Order Visitors')}}" name="order_visitors"
                                   value="{{$seller->order_visitors}}" class="form-control">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-sm-3 col-from-label" for="password">{{translate('Today Visitors')}}</label>
                        <div class="col-sm-9">
                            <input type="text" placeholder="{{translate('Today Visitors')}}" name="today_visitors"
                                   value="{{$seller->today_visitors}}" class="form-control">
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-sm-3 col-from-label" for="name">{{translate('Last 7 Days Visitors')}}</label>
                        <div class="col-sm-9">
                            <input type="text" placeholder="{{translate('Last 7 Days Visitors')}}"
                                   name="last_7_visitors" class="form-control" value="{{$seller->last_7_visitors}}">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-3 col-from-label"
                               for="email">{{translate('Last 30 Days Visitors')}}</label>
                        <div class="col-sm-9">
                            <input type="text" placeholder="{{translate('Last 30 Days Visitors')}}"
                                   name="last_30_visitors" class="form-control" value="{{$seller->last_30_visitors}}">
                        </div>
                    </div>

                    <div class="form-group mb-0 text-right">
                        <button type="submit" class="btn btn-primary">{{translate('Save')}}</button>
                    </div>
                </form>
            </div>
        </div>
    </div>

@endsection
